package com.code2roc.miniflow.app;

import java.util.LinkedHashMap;
import java.util.List;
import java.util.Map;

public interface IMiniFlowDataBaseBridge {

    List<LinkedHashMap<String, Object>> findList(String sqlText, Map<String, Object> paramMap);

    List<LinkedHashMap<String, Object>> findPageList(String sqlText, int pageIndex,int pageSize, Map<String, Object> paramMap);

    int executeSQL(String sqlText, Map<String, Object> paramMap);

    Object executeScar(String sqlText, Map<String, Object> paramMap);
}
